package org.hqs.arrangement;

import org.hqs.feign.clients.ClinicClient;
import org.hqs.feign.clients.DepartmentClient;
import org.hqs.feign.clients.DoctorClient;
import org.hqs.feign.config.DefaultFeignConfiguration;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;

@MapperScan("org.hqs.arrangement.mapper")
@SpringBootApplication
@EnableFeignClients(clients = {ClinicClient.class, DoctorClient.class},defaultConfiguration = DefaultFeignConfiguration.class)

public class ArrangementApplication {
    public static void main(String[] args) {
        SpringApplication.run(ArrangementApplication.class, args);
    }
}
